package com.wisdytech.linkdcs.account.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@TableName("TT_EQ_DOCUMENT")
public class TtEqDocument extends Model<TtEqDocument> implements Serializable{

    private static final long serialVersionUID = -2644366405956672031L;

    @TableId("PK_ID")
    private String pkId;

    @TableField("DOCUMENT_CODE")
    private String documentCode;

    @TableField("DOCUMENT_NAME") 
    private String documentName;

    @TableField("UPLOAD_USER")
    private String uploadUser;

    @TableField("UPLOAD_DATE")
    private Date uploadDate;

    @TableField("EQUIP_CODE")
    private String equipCode;

    @TableField("TOTAL_SIZE")
    private String totalSize;

    @TableField("DEL_FLAG")
    private String delFlag;

    @TableField("CREATE_USER")
    private String createUser;

    @TableField("CREATE_DATE")
    private Date createDate;

    @TableField("UPDATE_USER")
    private String updateUser;

    @TableField("UPDATE_DATE")
    private Date updateDate;

    @TableField("REMARK")
    private String remark;
    
    @TableField(exist=false)
    private List<EquipDocument> fileList;

    
    
    public List<EquipDocument> getFileList() {
		return fileList;
	}

	public void setFileList(List<EquipDocument> fileList) {
		this.fileList = fileList;
	}

	public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId == null ? null : pkId.trim();
    }

    public String getDocumentCode() {
        return documentCode;
    }

    public void setDocumentCode(String documentCode) {
        this.documentCode = documentCode == null ? null : documentCode.trim();
    }

    public String getDocumentName() {
        return documentName;
    }

    public void setDocumentName(String documentName) {
        this.documentName = documentName == null ? null : documentName.trim();
    }

    public String getUploadUser() {
        return uploadUser;
    }

    public void setUploadUser(String uploadUser) {
        this.uploadUser = uploadUser == null ? null : uploadUser.trim();
    }

    public Date getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(Date uploadDate) {
        this.uploadDate = uploadDate;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode == null ? null : equipCode.trim();
    }

    
	public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
    
    

    public String getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(String totalSize) {
		this.totalSize = totalSize;
	}

	@Override
    protected Serializable pkVal() {
        return pkId;
    }
}